package com.lvmama.rhino.service;

import com.github.pagehelper.PageInfo;
import com.lvmama.rhino.pojo.funnel.FlowStatisticsFunnel;

import java.util.List;

public interface FunnelService {
    void insertFunnel(FlowStatisticsFunnel funnel);

    void insertFunnelDetail(FlowStatisticsFunnel funnel);

    FlowStatisticsFunnel selectFunnel(FlowStatisticsFunnel funnel);

    List<FlowStatisticsFunnel> selectFunnelDetail(FlowStatisticsFunnel funnel);

    PageInfo<FlowStatisticsFunnel> selectAllFunnel(FlowStatisticsFunnel funnel);

    void updateFunnel(FlowStatisticsFunnel funnel);

    void updateFunnelDetail(FlowStatisticsFunnel funnel);

    void deleteFunnel(FlowStatisticsFunnel funnel);

    void deleteFunnelDetail(FlowStatisticsFunnel funnel);
}
